home *** CD-ROM | disk | FTP | other *** search
- Date: Fri, 17 Sep 93 11:32:27 +0200
- From: Robert.Wilhelm@physik.tu-muenchen.de
- Message-Id: <9309170932.AA28377@ss5.cip.physik.tu-muenchen.de>
- To: mint@terminator.rs.itd.umich.edu
- Subject: ml pl35: Bug in waitpid
-
- Hi,
-
- Mintlib PL35 will fail when being built with compilers other than gcc.
- I forget to sent entropy the following patch.
-
- Sorry,
-
- Robert
-
- rwilhelm@physik.tu-muenchen.de
-
- ---------------------------------------------------------------------------
- *** waitpid.org Fri Sep 17 09:44:52 1993
- --- waitpid.c Fri Sep 17 11:16:34 1993
- *************** waitpid(pid, _status, options)
- *** 22,29 ****
- long r;
- int exit_status, sig_term;
- union wait *statwait;
- int *status = _status.__wi;
- !
- statwait = (union wait *) status;
- if (__mint == 0) {
- r = __waitval;
- --- 22,33 ----
- long r;
- int exit_status, sig_term;
- union wait *statwait;
- + #ifdef __GNUC__
- int *status = _status.__wi;
- ! #else
- ! int *status = _status;
- ! #endif
- !
- statwait = (union wait *) status;
- if (__mint == 0) {
- r = __waitval;
-